//
//  BaseViewController.h
//  dzm
//
//  Created by dzmmac on 14-9-25.
//  Copyright (c) 2014年 dzmmac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "UIViewController+BarItem.h"
#import "UIViewController+StoryBoard.h"
#import "AppColorConfig.h"
#import "AppConfig.h"
#import "GTCommontHeader.h"
#import "UIScreen+Frame.h"
#import "CommoneTools.h"
#import "SVProgressHUD.h"
#import "LoadingTableCell.h"
#import "MJRefresh.h"
#import "MJDIYBackFooter.h"

@interface BaseViewController : UIViewController


@property (strong, nonatomic) LoadingTableCell *loadingCell;
// 头部刷新
- (void)addHeader:(void (^)())block tableView:(UITableView *)tableView;



/**
 *  禁止侧滑
 */
-(void)panScreenEdgeEnable;

#pragma mark -----------------没有网络和没有数据--------------------

- (AppDelegate *)appDelegate;

// 隐藏额外的分割线
- (void)setExtraCellLineHidden: (UITableView *)tableView;

// 提示框
-(void)showTipViewWithMessage:(NSString *)message;

-(void)jumperLogin;

@end
